home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / text / print / FWEP_Spatch.readme < prev    next >
Encoding:
Text File  |  1995-04-27  |  4.0 KB  |  104 lines

  1. Short:    Patch FW to show and print EPS graphics with text
  2. Author:   UpperDesign@zeus.ci.ua.pt (Manuel Lemos)
  3. Uploader: UpperDesign@zeus.ci.ua.pt (Manuel Lemos)
  4. Type:     text/print
  5.  
  6. DESCRIPTION
  7.  
  8. This archive contains a patch to FinalWriter init.ps that is used to
  9. initialize the EPS interpreter letting it render EPS graphics that use
  10. PostScript text fonts to screen and to non-PostScript printers.
  11.  
  12. Apparently the support for text fonts was deliberatly disabled by Softwood.
  13. This patches re-enables that support.
  14.  
  15.  
  16. DISCLAIMER
  17.  
  18. With this document I make no warranties or representations, either
  19. expressed or implied, with respect to the program described herein.  The
  20. program and the information presented herein is being supplied on an `as
  21. is' basis and is expressly subject to change without notice.  The entire
  22. risk as to the use of the program and the information presented is assumed
  23. by the user.  In no event will I be liable for direct, indirect,
  24. incidental, or consequential damages resulting from any claim arising out
  25. of the use of the program or the information presented herein, even if I
  26. have been advised of the possibilities of such damages.
  27.  
  28.  
  29. INSTALLATION
  30.  
  31. Use the Shell and change the current directory to wherever you have
  32. unpacked this archive and then execute the following statments:
  33.  
  34. set FINALWRITER WhereEverYouHaveInstalledFinalWriterInDisk
  35. Copy FinalWriter-init.ps.pch $FINALWRITER/FWFiles
  36. CD $FINALWRITER/FWFiles
  37. Copy init.ps init.ps.old
  38. spatch -oinit.ps -pFinalWriter-init.ps.pch init.ps.old
  39.  
  40.  
  41. SO, WHAT WAS THE PROBLEM?
  42.  
  43. I found two problems:
  44.  
  45. 1) The PostScript interpreter needs to know where in disk are located the
  46.    fonts it needs.  The file that initializes the interpreter
  47.    (FWFiles/init.ps) had the lines that define that path in comment.
  48.  
  49.    This patch uncomments those lines, setting the font search path to
  50.    PSFONTS:  directory.  You can edit the init.ps file after applying this
  51.    patch to change this path to another directory.
  52.  
  53.    You need to have PostScript fonts (Type 1 and Type 3) installed in that
  54.    directory.  If you don't have any PostScript fonts, you may find them in
  55.    Fish Disk 828, 829 and 830. These fonts quality is not very good but
  56.    they'll do for the purpose of rendering EPS graphics to screen and to
  57.    non-PostScript printers.
  58.  
  59.    You may use as well Adobe's ATM fonts that are very good or use any of
  60.    those hundreds that come in CDs for a bargain.
  61.  
  62.    Be careful to restore the original names of the fonts of those files.
  63.    Some collections of fonts were meant to be used in MS-DOS machines, so
  64.    their filenames are truncated.  There is an utility in Aminet that does
  65.    that for you to Type 1 fonts.
  66.  
  67. 2) The PostScript code in the init.ps file that defines ISOLatin1Encoding
  68.    array that is the table in which is defined the names of glyphs used by
  69.    the character set that Amiga uses was not very well defined.
  70.  
  71.    This could lead to erroneous character mapping when an EPS file with
  72.    text was being imported to FinalWriter.
  73.  
  74.    ISOLatin1Encoding table is only expected to be defined by Level 2
  75.    PostScript interpreters.  Although FinalWriter PostScript interpreter is
  76.    not a full Level 2 interpreter, the init.ps file was defining
  77.    ISOLatin1Encoding table.
  78.  
  79.    Some EPS/PS files assume when ISOLatin1Encoding is defined, it is well
  80.    defined which is not the case.  This patch fixes the definition of this
  81.    table.
  82.  
  83.    Many EPS/PS files generated by for instance Amiga programs, correctly
  84.    redefine ISOLatin1Encoding table regardless if it is already defined, so
  85.    they don't suffer from this fault of the FinalWriter init.ps.
  86.  
  87.  
  88. Manuel Lemos
  89. 17.2.95
  90. UpperDesign@zeus.ci.ua.pt
  91. Apartado 391
  92. 3800 AVEIRO
  93. PORTUGAL
  94.  
  95.  
  96. ============================= Archive contents =============================
  97.  
  98. Original  Packed Ratio    Date     Time    Name
  99. -------- ------- ----- --------- --------  -------------
  100.      820     569 30.6% 17-Feb-95 13:39:10  FinalWriter-init.ps.pch
  101.     3699    1696 54.1% 17-Feb-95 18:50:36  FWEPSpatch.readme
  102. -------- ------- ----- --------- --------
  103.     4519    2265 49.8% 18-Feb-95 11:27:38   2 files
  104.